#ifndef MAINWINDOWIMPL_H
#define MAINWINDOWIMPL_H
//
#include <QMainWindow>
#include "ui_mainwindow.h"
//
#include "startserverdialogimpl.h"
#include "systemtray.h"
//
#include "server.h"
#include "httpserver.h"
//
class MainWindowImpl : public QMainWindow, public Ui::MainWindow
{
Q_OBJECT
private:
	StartServerDialogImpl* ssd;
        systemTray* systray;
        server server_;
        httpServer httpserver_;
public:
	MainWindowImpl( QWidget * parent = 0, Qt::WFlags f = 0 );
private slots:
        void setServerName();
        void setServerPort();
        void setServerLevel();
        bool startServer();
        void getNewConnectionIP();
        void sendHttpData();
        void createList();
        void Disconnect();
};
#endif




